import request from '@/utils/request'

export function goodsCategoryTree(data) {
  return request({
    url: '/wings/store-category/tree',
    method: 'get',
    params: data
  })
}

export function changeCategoryShowp(id, showStatus) {
  return request({
    url: `/wings/store-category/show/${id}/${showStatus}`,
    method: 'PUT'
  })
}

